<form action="{:request()->url()}" autocomplete="off" class="layui-form layui-card" data-auto="true" method="post">
    <div class="layui-card-body padding-left-40">
        <label class="layui-form-item relative block">
            <span class="color-green font-w7">业务员名称</span>
            <span class="color-desc margin-left-5">Staff Name</span>
            <input class="layui-input" name="name" placeholder="请输入业务员名称" required value='{$vo.name|default=""}'>
            <span class="help-block"><b>必填，</b>请填写业务员名称，建议字符不要太长，一般2-4个汉字（如：张三）</span>
        </label>
        <label class="layui-form-item relative block">
            <span class="color-green font-w7">联系方式</span>
            <span class="color-desc margin-left-5">Staff Phone</span>
            <input class="layui-input" name="phone" placeholder="请输入业务员的联系方式" value='{$vo.phone|default=""}'>
            <span class="help-block"><b>非必填，</b>请填写业务员联系方式，如15800000000</span>
        </label>
        <label class="layui-form-item relative block">
            <span class="color-green font-w7">职责描述</span>
            <span class="color-desc margin-left-5">Staff Remark</span>
            <textarea class="layui-textarea" name="remark" placeholder="请输入业务员职责描述">{$vo.remark|default=''}</textarea>
        </label>
    </div>
    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input name='id' type='hidden' value='{$vo.id}'>{/notempty}
    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" data-close data-confirm="确定要取消编辑吗？" type='button'>取消编辑</button>
    </div>
    <script>form.render()</script>
</form>
